import { getCurrentInstance } from 'vue'

export const useGlobalProperties = () => {
  const { appContext: { app: { config: { globalProperties } } = {} as any } = {} } =
    getCurrentInstance() || {}
  return { ...globalProperties }
}
